package br.com.jvet.facade;

import java.util.List;

import javax.ejb.Local;
@Local
public interface Facade<E> {
	
	public abstract void incluir(E obj) throws Exception;

	public abstract void alterar(E obj) throws Exception;

	public abstract void excluir(int id);

	public abstract E consultarPorId(int entityID);

	public abstract List<E> listar();
	
	public void validarDados(E obj) throws Exception;

}
